export const randomNumArr = (length: number, maxNum: number): number[] => {
  const arr = [];
  for (let i = 0; i < length; i++) {
    arr.push(parseInt((Math.random() * maxNum + 0) as any));
  }
  return arr;
};
